import Mock from 'mockjs'
const firstPage = Mock.mock({
  name: 'firstPage',
  path: '/firstPage',
  leftTop: {
    title: 'mock数据'
  },
  leftCenterTop: {
    title: '三级标题',
    supplyName: '供数部门数',
    supplyDept: 132,
    chartData: [
      {
        name: '采集量',
        color: '#035ef0',
        data: [1356, 1592, 2014, 2345, 3201, 3892, 4013]
      },
      {
        name: '成功入库数',
        color: '#00f7fa',
        data: [1157, 1358, 1718, 2102, 2730, 3310, 3423]
      }
    ]
  },
  leftCenterBottom: {
    title: '三级标题',
    titleValue: {
      num: 2500,
      title: '调用总量',
      unit: '万'
    },
    data: [
      {
        value: 60,
        name: '正常调用'
      },
      {
        value: 20,
        name: '异常调用'
      },
      {
        value: 20,
        name: '无法调用'
      }
    ]
  },
  leftBottom: {
    title: '三级标题',
    data: [
      {
        base: '人口库',
        questionNum: 18029.8,
        haveDeal: 1126.7,
        noDeal: 16903.1
      },
      {
        base: '法人库',
        questionNum: 13755.1,
        haveDeal: 4753.6,
        noDeal: 9001.5
      },
      {
        base: '信用库',
        questionNum: 1159.5,
        haveDeal: 0,
        noDeal: 1159.5
      },
      {
        base: '电子证照库',
        questionNum: 5880.3,
        haveDeal: 1293.0,
        noDeal: 4587.3
      },
      {
        base: '地理信息库',
        questionNum: '检测中',
        haveDeal: '检测中',
        noDeal: '检测中'
      }
    ]
  },
  centerTop: [
    {
      name: '重庆',
      id: '500000',
      value: 824
    },
    {
      name: '湖南',
      id: '430000',
      value: 1072
    },
    {
      name: '四川',
      id: '510000',
      value: 919
    },
    {
      name: '广西',
      id: '450000',
      value: 856
    },
    {
      name: '浙江',
      id: '330000',
      value: 802
    },
    {
      name: '广东',
      id: '440000',
      value: 797
    },
    {
      name: '上海',
      id: '310000',
      value: 296
    },
    {
      name: '湖北',
      id: '420000',
      value: 178
    },
    {
      name: '黑龙江',
      id: '230000',
      value: 627
    },
    {
      name: '新疆',
      id: '650000',
      value: 7.08
    },
    {
      name: '甘肃',
      id: '620000',
      value: 380
    },
    {
      name: '天津',
      id: '120000',
      value: 671
    },
    {
      name: '江苏',
      id: '320000',
      value: 657
    },
    {
      name: '北京市',
      id: '110000',
      value: 634
    }
  ],
  centerBottom: {
    data: [
      { title: '共享接口总量', value: 961, unit: '个' },
      { title: '共享库表总量', value: 5204, unit: '个' },
      { title: '挂接目录数', value: 2436, unit: '条' },
      { title: '部门资源目录', value: 4158, unit: '条' },
      { title: '地市资源目录', value: 35707, unit: '条' },
      { title: '电子证照总量', value: 44793, unit: '万张' }
    ],
    num: 15407780000
  },
  rightTop: {
    title: '二级标题'
  },
  rightCenterTop: {
    title: '三级标题',
    data: [
      {
        name: '纳管资产',
        value: 193,
        percent: 0.92,
        unit: '个',
        colors: ['#25a0ff66', '#25a0ff']
      },
      {
        name: '作业人数',
        value: 90,
        percent: 0.128,
        unit: '人',
        colors: ['#035ef066', '#035ef0']
      },
      {
        name: '风险数量',
        value: 12369,
        percent: 0.48,
        unit: '条',
        colors: ['#00f7fa66', '#00f7fa']
      }
    ]
  },
  rightCenterBottom: {
    title: '三级标题',
    titleValue: {
      num: 20596,
      title: '来源总数'
    },
    data: [
      {
        value: 2,
        name: '数据库'
      },
      {
        value: 76,
        name: 'vpn'
      },
      {
        value: 15,
        name: '前置机'
      },
      {
        value: 7,
        name: '堡垒机'
      }
    ]
  },
  rightBottom: {
    title: '三级标题',
    data: [
      {
        base: '弱口令风险',
        questionNum: 20,
        haveDeal: 20,
        noDeal: 0,
        scale: 67,
        tag: 'down'
      },
      {
        base: '特权操作风险',
        questionNum: 141,
        haveDeal: 103,
        noDeal: 38,
        scale: 35,
        tag: 'down'
      },
      {
        base: '数据访问风险',
        questionNum: 12693,
        haveDeal: 782,
        noDeal: 11911,
        scale: 38,
        tag: 'down'
      },
      {
        base: '操作风险',
        questionNum: 223,
        haveDeal: 156,
        noDeal: 67,
        scale: 21,
        tag: 'down'
      },
      {
        base: '账号风险',
        questionNum: 2430,
        haveDeal: 1853,
        noDeal: 67,
        scale: 37,
        tag: 'up'
      }
    ]
  }
})
// 输出结果
export default firstPage
